home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
rwvector.lha
/
RWVector2.1
/
src
/
Makefile.ATT
< prev
next >
Wrap
Makefile
|
1989-08-18
|
17KB
|
692 lines
#
# Makefile for RW Vector and Matrix library,
# using versions of AT&T's "cfront"
#
#
# Copyright (C) 1988, 1989.
#
# Dr. Thomas Keffer
# Rogue Wave Associates
# P.O. Box 85341
# Seattle WA 98145-1341
#
# Permission to use, copy, modify, and distribute this
# software and its documentation for any purpose and
# without fee is hereby granted, provided that the
# above copyright notice appear in all copies and that
# both that copyright notice and this permission notice
# appear in supporting documentation.
#
# This software is provided "as is" without any
# expressed or implied warranty.
#
#
# @(#)Makefile.ATT 2.1 8/18/89
#
#
###################################################################
#
# Things to check:
#
# COMPILER: According to version of cfront you are using
# LIBDIR: Where to install finished library
# INCLDIR: Where to install header files
# FPFLAG: Type of floating point flag for Fortran
# CFPFLAG: Type of floating point flag for C++
# CCDEBUG: Uncomment as necessary for production version
#
# Also, check the tail end of this file to make sure that it is
# expecting the proper suffixes for your CC driver. Mine accepts
# .C, puts out .C.o. Yours might differ.
#
###################################################################
#
# Compiler version. Select either 1 or 2
COMPILER= __ATT1__
#COMPILER= __ATT2__
# Where the library should be installed:
LIBDIR= /usr/local/lib
# Where the include files should be installed:
INCLDIR= /usr/local/include/rw
# Fortran Floating Point flag (for mathpack)
FPFLAG= -f68881
# Floating point flag for C++
CFPFLAG= -f68881
# C++ compiler to use:
CCXX= CC -D${COMPILER}
# CC debug flag. Uncomment -O for production version (not tried)
CCDEBUG= -g -DDEBUG
#CCDEBUG= -O
# Location of include files
INCLFLAGS= -I./..
# Rootname of target library
LIB= RVector
LIBFILE= lib${LIB}.a
# Name for the math library
MATHLIB= libmathpack.a
CXXFLAGS = ${INCLFLAGS} ${CCDEBUG} $(CFPFLAG)
# Object files to be made:
OBJECTS= dblock.o dvec.o dvecio.o dvecop.o\
dvecmath.o\
fblock.o fvec.o fvecio.o fvecop.o\
fvecmath.o\
cblock.o cvec.o cvecio.o cvecop.o\
cvecmath.o\
iblock.o ivec.o ivecio.o ivecop.o\
ivecmath.o\
fvecx.o ivecx.o\
dcosine.o dfft.o cfft.o dmath.o\
dgemat.o dgematop.o dgematio.o dgematmath.o\
fgemat.o fgematop.o fgematio.o fgematmath.o\
cgemat.o cgematop.o cgematio.o cgematmath.o\
igemat.o igematop.o igematio.o igematmath.o\
dludecmp.o\
fludecmp.o\
timer.o utility.o
# Derived source files:
DERIVEDSRCS= dblock.cc dvec.cc dvecio.cc dvecop.cc\
dvecmath.cc dvectest.cc\
fblock.cc fvec.cc fvecio.cc fvecop.cc\
fvecmath.cc fvectest.cc\
cblock.cc cvec.cc cvecio.cc cvecop.cc\
cvecmath.cc cvectest.cc\
iblock.cc ivec.cc ivecio.cc ivecop.cc\
ivecmath.cc ivectest.cc\
dgemat.cc dgematop.cc dgematio.cc dgemattest.cc dgematmath.cc\
fgemat.cc fgematop.cc fgematio.cc fgemattest.cc fgematmath.cc\
cgemat.cc cgematop.cc cgematio.cc cgemattest.cc cgematmath.cc\
igemat.cc igematop.cc igematio.cc igemattest.cc igematmath.cc\
dludecmp.cc dludtest.cc\
fludecmp.cc fludtest.cc
# All source files:
SRCS= ${DERIVEDSRCS}\
fvecx.cc ivecx.cc\
dcosine.cc dfft.cc cfft.cc dmath.cc\
timer.cc utility.cc\
testcfft.cc testdfft.cc testcos.cc
TARGET= testmath
# Test program suite:
TESTPGMS= dvectest cvectest fvectest\
dgemattest fgemattest cgemattest igemattest\
testcfft testdfft testcos\
dludtest fludtest
################### Targets #################
${LIBFILE}: ${OBJECTS}
ar rvu ${LIBFILE} $?
ranlib ${LIBFILE}
${MATHLIB}:
cd mathpack; make "FPFLAG=${FPFLAG}"
mathpack: ${MATHLIB}
test:
for pgm in ${TESTPGMS}; do \
(echo $$pgm; \
make $$pgm TARGET=$$pgm ); \
done
verify:
rm -f cvectest.out # Complex output differs between gnu & att
rm -f cgemattest.out
cp cvectest.att cvectest.out
cp cgemattest.att cgemattest.out
-for pgm in ${TESTPGMS}; do \
(echo $$pgm; \
$$pgm | diff -c $$pgm.out - ); \
done
install: ${LIBFILE} ${MATHLIB}
cp ${LIBFILE} ${LIBDIR}
ranlib ${LIBDIR}/${LIBFILE}
cp ${MATHLIB} ${LIBDIR}
ranlib ${LIBDIR}/${MATHLIB}
-mkdir ${INCLDIR}
cp ../rw/*.h ${INCLDIR}
sources: ${DERIVEDSRCS}
# Must explicitly included -lC, because the AT&T compiler puts
# it AFTER -lm!
${TARGET}: ${TARGET}.o ${LIBFILE} ${MATHLIB}
${CCXX} ${CXXFLAGS} -o ${TARGET} ${TARGET}.o ${LIBFILE} ${MATHLIB} -lC -lm
clean:
rm -f ${TARGET} *.i *.ixx *.o *.s *.C *.C.o *.cpp
rm -f core a.out ${TESTPGMS}
realclean: clean
rm -f ${DERIVEDSRCS}
rm -f ${LIBFILE} ${MATHLIB}
# No makedep in residence. Have to fake one.
depend: ${SRCS}
rm -f makedep.att
for file in ${SRCS}; do \
(echo $$file; \
Cfile=`basename $$file .cc`.C; rm -f $$Cfile; \
cp $$file $$Cfile; \
/lib/cpp -M ${INCLFLAGS} -I/usr/local/c++/incl $$Cfile | \
sed 's/\.C/.cc/; /\/usr\/include/d; /\/c++\/incl/d' | \
sort | uniq >> makedep.att ; \
rm -f $$Cfile ); \
done
################# Sed scripts ###############
dblock.cc: xblock.cc
maketype Double $? $@
dvec.cc: xvec.cc
maketype Double $? $@
dvecio.cc: xvecio.cc
maketype Double $? $@
dvecop.cc: xvecop.cc
maketype Double $? $@
dvecmath.cc: xvecmath.cc
maketype Double $? $@
dvectest.cc: xvectest.cc
maketype Double $? $@
# Float:
fblock.cc: xblock.cc
maketype Float $? $@
fvec.cc: xvec.cc
maketype Float $? $@
fvecio.cc: xvecio.cc
maketype Float $? $@
fvecop.cc: xvecop.cc
maketype Float $? $@
fvecmath.cc: xvecmath.cc
maketype Float $? $@
fvectest.cc: xvectest.cc
maketype Float $? $@
# DComplex (Double Complex)
cblock.cc: xblock.cc
maketype DComplex $? $@
cvec.cc: xvec.cc
maketype DComplex $? $@
cvecio.cc: xvecio.cc
maketype DComplex $? $@
cvecop.cc: xvecop.cc
maketype DComplex $? $@
cvecmath.cc: xvecmath.cc
maketype DComplex $? $@
cvectest.cc: xvectest.cc
maketype DComplex $? $@
# Int:
iblock.cc: xblock.cc
maketype Int $? $@
ivec.cc: xvec.cc
maketype Int $? $@
ivecio.cc: xvecio.cc
maketype Int $? $@
ivecop.cc: xvecop.cc
maketype Int $? $@
ivecmath.cc: xvecmath.cc
maketype Int $? $@
ivectest.cc: xvectest.cc
maketype Int $? $@
# Matrix stuff:
dgemat.cc: xgemat.cc
maketype Double $? $@
dgematop.cc: xgematop.cc
maketype Double $? $@
dgematio.cc: xgematio.cc
maketype Double $? $@
dgemattest.cc: xgemattest.cc
maketype Double $? $@
dgematmath.cc: xgematmath.cc
maketype Double $? $@
fgemat.cc: xgemat.cc
maketype Float $? $@
fgematop.cc: xgematop.cc
maketype Float $? $@
fgematio.cc: xgematio.cc
maketype Float $? $@
fgemattest.cc: xgemattest.cc
maketype Float $? $@
fgematmath.cc: xgematmath.cc
maketype Float $? $@
cgemat.cc: xgemat.cc
maketype DComplex $? $@
cgematop.cc: xgematop.cc
maketype DComplex $? $@
cgematio.cc: xgematio.cc
maketype DComplex $? $@
cgemattest.cc: xgemattest.cc
maketype DComplex $? $@
cgematmath.cc: xgematmath.cc
maketype DComplex $? $@
igemat.cc: xgemat.cc
maketype Int $? $@
igematop.cc: xgematop.cc
maketype Int $? $@
igematio.cc: xgematio.cc
maketype Int $? $@
igemattest.cc: xgemattest.cc
maketype Int $? $@
igematmath.cc: xgematmath.cc
maketype Int $? $@
# LU decomposition
dludecmp.cc: xludecmp.cc
maketype Double $? $@
dludtest.cc: xludtest.cc
maketype Double $? $@
fludecmp.cc: xludecmp.cc
maketype Float $? $@
fludtest.cc: xludtest.cc
maketype Float $? $@
################# Dependencies ###############
cblock.o: ./../rw/DComplexVec.h
cblock.o: ./../rw/RComplex.h
cblock.o: ./../rw/compiler.h
cblock.o: ./../rw/complex.h
cblock.o: ./../rw/vdefs.h
cblock.o: cblock.cc
cfft.o: ./../rw/DComplexFFT.h
cfft.o: ./../rw/DComplexVec.h
cfft.o: ./../rw/DoubleVec.h
cfft.o: ./../rw/RComplex.h
cfft.o: ./../rw/compiler.h
cfft.o: ./../rw/complex.h
cfft.o: ./../rw/mathpack.h
cfft.o: ./../rw/vdefs.h
cfft.o: cfft.cc
cgemat.o: ./../rw/CGEMatrix.h
cgemat.o: ./../rw/DComplexVec.h
cgemat.o: ./../rw/RComplex.h
cgemat.o: ./../rw/compiler.h
cgemat.o: ./../rw/complex.h
cgemat.o: ./../rw/vdefs.h
cgemat.o: cgemat.cc
cgematio.o: ./../rw/CGEMatrix.h
cgematio.o: ./../rw/DComplexVec.h
cgematio.o: ./../rw/RComplex.h
cgematio.o: ./../rw/compiler.h
cgematio.o: ./../rw/complex.h
cgematio.o: ./../rw/vdefs.h
cgematio.o: cgematio.cc
cgematmath.o: ./../rw/CGEMatrix.h
cgematmath.o: ./../rw/DComplexVec.h
cgematmath.o: ./../rw/DoubleVec.h
cgematmath.o: ./../rw/RComplex.h
cgematmath.o: ./../rw/compiler.h
cgematmath.o: ./../rw/complex.h
cgematmath.o: ./../rw/vdefs.h
cgematmath.o: cgematmath.cc
cgematop.o: ./../rw/CGEMatrix.h
cgematop.o: ./../rw/DComplexVec.h
cgematop.o: ./../rw/RComplex.h
cgematop.o: ./../rw/compiler.h
cgematop.o: ./../rw/complex.h
cgematop.o: ./../rw/vdefs.h
cgematop.o: ./vecdefs.h
cgematop.o: cgematop.cc
cgemattest.o: ./../rw/CGEMatrix.h
cgemattest.o: ./../rw/DComplexVec.h
cgemattest.o: ./../rw/RComplex.h
cgemattest.o: ./../rw/compiler.h
cgemattest.o: ./../rw/complex.h
cgemattest.o: ./../rw/vdefs.h
cgemattest.o: ./vecdefs.h
cgemattest.o: cgemattest.cc
cvec.o: ./../rw/DComplexVec.h
cvec.o: ./../rw/DoubleVec.h
cvec.o: ./../rw/RComplex.h
cvec.o: ./../rw/compiler.h
cvec.o: ./../rw/complex.h
cvec.o: ./../rw/vdefs.h
cvec.o: ./vecdefs.h
cvec.o: cvec.cc
cvecio.o: ./../rw/DComplexVec.h
cvecio.o: ./../rw/RComplex.h
cvecio.o: ./../rw/compiler.h
cvecio.o: ./../rw/complex.h
cvecio.o: ./../rw/vdefs.h
cvecio.o: cvecio.cc
cvecmath.o: ./../rw/DComplexVec.h
cvecmath.o: ./../rw/DoubleVec.h
cvecmath.o: ./../rw/RComplex.h
cvecmath.o: ./../rw/compiler.h
cvecmath.o: ./../rw/complex.h
cvecmath.o: ./../rw/vdefs.h
cvecmath.o: ./vecdefs.h
cvecmath.o: cvecmath.cc
cvecop.o: ./../rw/DComplexVec.h
cvecop.o: ./../rw/RComplex.h
cvecop.o: ./../rw/compiler.h
cvecop.o: ./../rw/complex.h
cvecop.o: ./../rw/vdefs.h
cvecop.o: ./vecdefs.h
cvecop.o: cvecop.cc
dblock.o: ./../rw/DoubleVec.h
dblock.o: ./../rw/compiler.h
dblock.o: ./../rw/vdefs.h
dblock.o: dblock.cc
dcosine.o: ./../rw/DComplexFFT.h
dcosine.o: ./../rw/DComplexVec.h
dcosine.o: ./../rw/DCosineFFT.h
dcosine.o: ./../rw/DoubleFFT.h
dcosine.o: ./../rw/DoubleVec.h
dcosine.o: ./../rw/RComplex.h
dcosine.o: ./../rw/compiler.h
dcosine.o: ./../rw/complex.h
dcosine.o: ./../rw/mathpack.h
dcosine.o: ./../rw/vdefs.h
dcosine.o: dcosine.cc
dfft.o: ./../rw/DComplexFFT.h
dfft.o: ./../rw/DComplexVec.h
dfft.o: ./../rw/DoubleFFT.h
dfft.o: ./../rw/DoubleVec.h
dfft.o: ./../rw/RComplex.h
dfft.o: ./../rw/compiler.h
dfft.o: ./../rw/complex.h
dfft.o: ./../rw/mathpack.h
dfft.o: ./../rw/vdefs.h
dfft.o: dfft.cc
dgemat.o: ./../rw/DGEMatrix.h
dgemat.o: ./../rw/DoubleVec.h
dgemat.o: ./../rw/compiler.h
dgemat.o: ./../rw/vdefs.h
dgemat.o: dgemat.cc
dgematio.o: ./../rw/DGEMatrix.h
dgematio.o: ./../rw/DoubleVec.h
dgematio.o: ./../rw/compiler.h
dgematio.o: ./../rw/vdefs.h
dgematio.o: dgematio.cc
dgematmath.o: ./../rw/DGEMatrix.h
dgematmath.o: ./../rw/DoubleVec.h
dgematmath.o: ./../rw/compiler.h
dgematmath.o: ./../rw/vdefs.h
dgematmath.o: dgematmath.cc
dgematop.o: ./../rw/DGEMatrix.h
dgematop.o: ./../rw/DoubleVec.h
dgematop.o: ./../rw/compiler.h
dgematop.o: ./../rw/vdefs.h
dgematop.o: ./vecdefs.h
dgematop.o: dgematop.cc
dgemattest.o: ./../rw/DGEMatrix.h
dgemattest.o: ./../rw/DoubleVec.h
dgemattest.o: ./../rw/compiler.h
dgemattest.o: ./../rw/vdefs.h
dgemattest.o: ./vecdefs.h
dgemattest.o: dgemattest.cc
dludecmp.o: ./../rw/DGEMatrix.h
dludecmp.o: ./../rw/DLUDecomp.h
dludecmp.o: ./../rw/DoubleVec.h
dludecmp.o: ./../rw/compiler.h
dludecmp.o: ./../rw/linpack.h
dludecmp.o: ./../rw/vdefs.h
dludecmp.o: dludecmp.cc
dludtest.o: ./../rw/DGEMatrix.h
dludtest.o: ./../rw/DLUDecomp.h
dludtest.o: ./../rw/DoubleVec.h
dludtest.o: ./../rw/compiler.h
dludtest.o: ./../rw/vdefs.h
dludtest.o: dludtest.cc
dmath.o: ./../rw/DComplexVec.h
dmath.o: ./../rw/DoubleVec.h
dmath.o: ./../rw/RComplex.h
dmath.o: ./../rw/compiler.h
dmath.o: ./../rw/complex.h
dmath.o: ./../rw/vdefs.h
dmath.o: dmath.cc
dvec.o: ./../rw/DoubleVec.h
dvec.o: ./../rw/compiler.h
dvec.o: ./../rw/vdefs.h
dvec.o: ./vecdefs.h
dvec.o: dvec.cc
dvecio.o: ./../rw/DoubleVec.h
dvecio.o: ./../rw/compiler.h
dvecio.o: ./../rw/vdefs.h
dvecio.o: dvecio.cc
dvecmath.o: ./../rw/DoubleVec.h
dvecmath.o: ./../rw/compiler.h
dvecmath.o: ./../rw/vdefs.h
dvecmath.o: ./vecdefs.h
dvecmath.o: dvecmath.cc
dvecop.o: ./../rw/DoubleVec.h
dvecop.o: ./../rw/compiler.h
dvecop.o: ./../rw/vdefs.h
dvecop.o: ./vecdefs.h
dvecop.o: dvecop.cc
fblock.o: ./../rw/FloatVec.h
fblock.o: ./../rw/compiler.h
fblock.o: ./../rw/vdefs.h
fblock.o: fblock.cc
fgemat.o: ./../rw/FGEMatrix.h
fgemat.o: ./../rw/FloatVec.h
fgemat.o: ./../rw/compiler.h
fgemat.o: ./../rw/vdefs.h
fgemat.o: fgemat.cc
fgematio.o: ./../rw/FGEMatrix.h
fgematio.o: ./../rw/FloatVec.h
fgematio.o: ./../rw/compiler.h
fgematio.o: ./../rw/vdefs.h
fgematio.o: fgematio.cc
fgematmath.o: ./../rw/FGEMatrix.h
fgematmath.o: ./../rw/FloatVec.h
fgematmath.o: ./../rw/compiler.h
fgematmath.o: ./../rw/vdefs.h
fgematmath.o: fgematmath.cc
fgematop.o: ./../rw/FGEMatrix.h
fgematop.o: ./../rw/FloatVec.h
fgematop.o: ./../rw/compiler.h
fgematop.o: ./../rw/vdefs.h
fgematop.o: ./vecdefs.h
fgematop.o: fgematop.cc
fgemattest.o: ./../rw/FGEMatrix.h
fgemattest.o: ./../rw/FloatVec.h
fgemattest.o: ./../rw/compiler.h
fgemattest.o: ./../rw/vdefs.h
fgemattest.o: ./vecdefs.h
fgemattest.o: fgemattest.cc
fludecmp.o: ./../rw/FGEMatrix.h
fludecmp.o: ./../rw/FLUDecomp.h
fludecmp.o: ./../rw/FloatVec.h
fludecmp.o: ./../rw/compiler.h
fludecmp.o: ./../rw/linpack.h
fludecmp.o: ./../rw/vdefs.h
fludecmp.o: fludecmp.cc
fludtest.o: ./../rw/FGEMatrix.h
fludtest.o: ./../rw/FLUDecomp.h
fludtest.o: ./../rw/FloatVec.h
fludtest.o: ./../rw/compiler.h
fludtest.o: ./../rw/vdefs.h
fludtest.o: fludtest.cc
fvec.o: ./../rw/FloatVec.h
fvec.o: ./../rw/compiler.h
fvec.o: ./../rw/vdefs.h
fvec.o: ./vecdefs.h
fvec.o: fvec.cc
fvecio.o: ./../rw/FloatVec.h
fvecio.o: ./../rw/compiler.h
fvecio.o: ./../rw/vdefs.h
fvecio.o: fvecio.cc
fvecmath.o: ./../rw/FloatVec.h
fvecmath.o: ./../rw/compiler.h
fvecmath.o: ./../rw/vdefs.h
fvecmath.o: ./vecdefs.h
fvecmath.o: fvecmath.cc
fvecop.o: ./../rw/FloatVec.h
fvecop.o: ./../rw/compiler.h
fvecop.o: ./../rw/vdefs.h
fvecop.o: ./vecdefs.h
fvecop.o: fvecop.cc
fvecx.o: ./../rw/DoubleVec.h
fvecx.o: ./../rw/FloatVec.h
fvecx.o: ./../rw/compiler.h
fvecx.o: ./../rw/vdefs.h
fvecx.o: fvecx.cc
iblock.o: ./../rw/IntVec.h
iblock.o: ./../rw/compiler.h
iblock.o: ./../rw/vdefs.h
iblock.o: iblock.cc
igemat.o: ./../rw/IGEMatrix.h
igemat.o: ./../rw/IntVec.h
igemat.o: ./../rw/compiler.h
igemat.o: ./../rw/vdefs.h
igemat.o: igemat.cc
igematio.o: ./../rw/IGEMatrix.h
igematio.o: ./../rw/IntVec.h
igematio.o: ./../rw/compiler.h
igematio.o: ./../rw/vdefs.h
igematio.o: igematio.cc
igematmath.o: ./../rw/IGEMatrix.h
igematmath.o: ./../rw/IntVec.h
igematmath.o: ./../rw/compiler.h
igematmath.o: ./../rw/vdefs.h
igematmath.o: igematmath.cc
igematop.o: ./../rw/IGEMatrix.h
igematop.o: ./../rw/IntVec.h
igematop.o: ./../rw/compiler.h
igematop.o: ./../rw/vdefs.h
igematop.o: ./vecdefs.h
igematop.o: igematop.cc
igemattest.o: ./../rw/IGEMatrix.h
igemattest.o: ./../rw/IntVec.h
igemattest.o: ./../rw/compiler.h
igemattest.o: ./../rw/vdefs.h
igemattest.o: ./vecdefs.h
igemattest.o: igemattest.cc
ivec.o: ./../rw/IntVec.h
ivec.o: ./../rw/compiler.h
ivec.o: ./../rw/vdefs.h
ivec.o: ./vecdefs.h
ivec.o: ivec.cc
ivecio.o: ./../rw/IntVec.h
ivecio.o: ./../rw/compiler.h
ivecio.o: ./../rw/vdefs.h
ivecio.o: ivecio.cc
ivecmath.o: ./../rw/IntVec.h
ivecmath.o: ./../rw/compiler.h
ivecmath.o: ./../rw/vdefs.h
ivecmath.o: ./vecdefs.h
ivecmath.o: ivecmath.cc
ivecop.o: ./../rw/IntVec.h
ivecop.o: ./../rw/compiler.h
ivecop.o: ./../rw/vdefs.h
ivecop.o: ./vecdefs.h
ivecop.o: ivecop.cc
ivecx.o: ./../rw/DoubleVec.h
ivecx.o: ./../rw/FloatVec.h
ivecx.o: ./../rw/IntVec.h
ivecx.o: ./../rw/compiler.h
ivecx.o: ./../rw/vdefs.h
ivecx.o: ivecx.cc
testcfft.o: ./../rw/DComplexFFT.h
testcfft.o: ./../rw/DComplexVec.h
testcfft.o: ./../rw/DoubleVec.h
testcfft.o: ./../rw/RComplex.h
testcfft.o: ./../rw/compiler.h
testcfft.o: ./../rw/complex.h
testcfft.o: ./../rw/vdefs.h
testcfft.o: testcfft.cc
testcos.o: ./../rw/DComplexFFT.h
testcos.o: ./../rw/DComplexVec.h
testcos.o: ./../rw/DCosineFFT.h
testcos.o: ./../rw/DoubleFFT.h
testcos.o: ./../rw/DoubleVec.h
testcos.o: ./../rw/RComplex.h
testcos.o: ./../rw/Timer.h
testcos.o: ./../rw/compiler.h
testcos.o: ./../rw/complex.h
testcos.o: ./../rw/vdefs.h
testcos.o: testcos.cc
testdfft.o: ./../rw/DComplexFFT.h
testdfft.o: ./../rw/DComplexVec.h
testdfft.o: ./../rw/DoubleFFT.h
testdfft.o: ./../rw/DoubleVec.h
testdfft.o: ./../rw/RComplex.h
testdfft.o: ./../rw/compiler.h
testdfft.o: ./../rw/complex.h
testdfft.o: ./../rw/vdefs.h
testdfft.o: testdfft.cc
timer.o: ./../rw/Timer.h
timer.o: timer.cc
utility.o: ./../rw/compiler.h
utility.o: ./../rw/vdefs.h
utility.o: utility.cc
################# Conversions ###############
.PRECIOUS: ${LIBFILE}
.SUFFIXES: .cc .o
# For cfront, make a temporary copy of the source code,
# and compile that. The output of my CC driver puts the
# results in a file with suffix .C.o. Yours might differ.
.cc.o:
@rm -f $*.C
@cp $*.cc $*.C
$(CCXX) $(CXXFLAGS) -c $*.C
@rm -f $*.C
#Following line may or may not be necessary for your CC:
@mv $*.C.o $*.o